package com.rkc.constant;

/**
 * @author `RKC`
 * @date 2021/10/14 16:41
 */
public class CacheKey {

    /**
     * 验证码，第一个参数是类型，第二个是接收的号码
     */
    public static final String CHECK_CODE_KEY = "code:%s:%s";

    /**
     * 购物车 哈希结构 key：用户标识
     */
    public static final String CART_KEY = "cart:%s";

    /**
     * 提交表单的token key
     */
    public static final String SUBMIT_ORDER_TOKEN_KEY = "order:submit:%s";
}
